<template>
  <div class="edit-on-sale-warpper">
    <el-form
      ref="ruleform"
      :inline="true"
      :model="form"
      :rules="rules"
      label-width="100px"
    >
      <el-form-item label="修改方式：">
        <el-select v-model="form.select_onsale" placeholder="请选择增加方式" style="margin-right: 8px;">
          <el-option
            v-for="item in pageInfo.onSaleArr"
            :key="item.value"
            :label="item.label"
            :value="item.value"
          />
        </el-select>
      </el-form-item>
    </el-form>
  </div>
</template>

<script>
export default {
  data() {
    return {
      pageInfo: {
        onSaleArr: [
          {
            label: '上架',
            value: 1
          },
          {
            label: '下架',
            value: 0
          }
        ]
      },
      form: {
        select_onsale: ''
      },
      rules: {}
    }
  },
  methods: {
  }
}
</script>

<style lang="scss" scoped>
.edit-on-sale-warpper {

}
</style>
